
#loginPopup {
	display: none;
}

.logincontainer {
  /*border:1px solid white;*/
  width: 600px;
  height: 350px;
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  display: inline-flex; 
}
.backbox {
  background-color: #404040;
  width: 100%;
  height: 80%;
  position: absolute;
  transform: translate(0,-50%);
  top:50%;
  display: inline-flex;
}

.frontbox {
  background-color: white;
  border-radius: 20px;
  height: 100%;
  width: 50%;
  z-index: 10;
  position: absolute;
  right:0;
  margin-right: 3%;
  margin-left: 3%;
  transition: right .8s ease-in-out;
}

.moving {
  right:45%;
}

.loginMsg, .signupMsg {
  width: 50%;
  height: 100%;
  font-size: 15px;
  box-sizing: border-box;
}

.loginMsg .title,
.signupMsg .title{
  font-weight: 300;
  font-size: 23px;
}

.loginMsg p,
.signupMsg p {
  font-weight: 100;
}

.textcontent {
  color:white;
  margin-top:65px;
  margin-left: 12%;
}

.loginMsg button,
.signupMsg button {
  background-color: #404040;
  border: 2px solid white;
  border-radius: 10px;
  color:white;
  font-size: 12px;
  box-sizing: content-box;
  font-weight: 300;
  padding:10px;
  margin-top: 20px;
}

/* front box content*/
.login, .signup {
  padding: 20px;
  text-align: center;
}

.login h2,
.signup h2 {
  color: #35B729;
  font-size:22px;
}

.inputbox {
  margin-top:15px;
}
.login input,
.signup input {
  color: rgb(50,183,40);
  display: block;
  width: 100%;
  height: 30px;
  background-color: #f2f2f2;
  border: none;
  margin-bottom:20px;
  font-size: 15px;
  font-weight:bold;
}

.login button,
.signup button {
  background-color: #35B729;
  border: none;
  color:white;
  font-size: 12px;
  font-weight: 300;
  box-sizing: content-box;
  padding:10px;
  border-radius: 10px;
  width: 60px;
  position: absolute;
  right:30px;
  bottom: 30px;
  cursor: pointer;
}

/* Fade In & Out*/
.login p {
  cursor: pointer;
  color:#404040;
  font-size:15px;
}

.loginMsg, .signupMsg {
  /*opacity: 1;*/
  transition: opacity .8s ease-in-out;
}

.visibility {
  opacity: 0;
}

.hide {
  display: none;
}

/* #layui-layer1 .layui-layer-content {
	background: #2F4056;
} */

.layui-layer-content {
  background: #CCB2B2;
}

.authCodeImg {
	width: 30%;
	margin:0 auto;
	margin-top: 20px;
}

@media screen and (max-width: 1400px) {

	.logincontainer {
	  width: 550px;
	  height: 300px;
	  position: absolute;
	  top:50%;
	  left:50%;
	  transform: translate(-50%, -50%);
	  display: inline-flex; 
	}

	.login input,
	.signup input {
	  display: block;
	  width: 80%;
	  margin:0 auto;
	  height: 13px;
	  background-color: #f2f2f2;
	  border: none;
	  margin-bottom:20px;
	  font-size: 12px;
	}

	.loginMsg button,
	.signupMsg button {
	  background-color: #404040;
	  border: 2px solid white;
	  border-radius: 10px;
	  color:white;
	  font-size: 12px;
	  box-sizing: content-box;
	  font-weight: 200;
	  padding:10px;
	  margin-top: 20px;
	}

	.login button,
	.signup button {
	  background-color: #35B729;
	  border: none;
	  color:white;
	  font-size: 12px;
	  font-weight: 200;
	  box-sizing: content-box;
	  padding:10px;
	  border-radius: 10px;
	  width: 40px;
	  position: absolute;
	  right:30px;
	  bottom: 20px;
	  cursor: pointer;
	}

	.loginMsg .title,
	.signupMsg .title{
	  font-weight: 300;
	  font-size: 15px;
	}

	.loginMsg p,
	.signupMsg p {
	  font-weight: 50;
	  font-size: 10px;
	}
}

